﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ATMCommon.ATMConfig
{
    public abstract class ATMConfigBase : IATMConfig
    {
        protected Dictionary<LATMConfigPath, string> LATMConfigDic = new Dictionary<LATMConfigPath, string>();

        public abstract bool Init();
        public abstract string GetStringValue(LATMConfigPath path, string key, string defaultValue);
        public abstract int GetIntValue(LATMConfigPath path, string key, int defaultValue);
        public abstract int GetIntValue(LATMConfigPath path, string key, int defaultValue, int min, int max);
    }
}
